package dsl.test


println  Thread.currentThread().name
Thread.start {

	println delegate
	println  Thread.currentThread().name
}

//def dir = new File("C:\\")
//dir.eachFile { file ->
//	println file.name
//}

new File('C:\\').with {
	it.eachFile {
		println it.name
	}
}